/****************************************************************************
**
****************************************************************************/

#include "formMainWindow.h"
#include "formPassword.h"

#include <QApplication>
#include <QFontDatabase>
#include <QTextCodec>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

    QFontDatabase::addApplicationFont("./font/wqy.ttf");
    QFont font("阿里巴巴普惠体");
    font.setPixelSize(21);
    app.setFont(font);

    FormMainWindow minWindow;
    minWindow.show();

    /*
    FormPassword password;
    password.show(); */

    return app.exec();
}
